/**
 * 
 */

$(document).ready(function()
{
$( "#dialog:ui-dialog" ).dialog( "destroy" );
	
	$('#alert-message,#alert-message1,#alert-message2,#alert-message3,#alert-message4,#alert-message5').dialog({
		autoOpen: false,
		modal: true,
		buttons: {
			'Đồng ý': function() {
				$(this).dialog( "close" );
			}
		}
	});
	
	$( "#waiting" ).dialog({
		autoOpen: false,
		height: 70,
		modal: true
	});
	/*
	$( "#dialog-confirm" ).dialog({
		resizable: false,
		autoOpen: false,
		height:140,
		modal: true,
		buttons: {
			"Đồng ý": function() {
				$( this ).dialog( "close" );
			},
			Cancel: function() {
				$( this ).dialog( "close" );
			}
		}
	});
	*/
});
